package com.zbkj.crmeb.store.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.zbkj.crmeb.store.dto.StoreOrderTransDTO;
import com.zbkj.crmeb.store.model.StoreOrderTrans;
import com.zbkj.crmeb.store.request.StoreOrderTransRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.sql.Wrapper;
import java.util.List;

@Mapper
public interface StoreOrderTransDao extends BaseMapper<StoreOrderTrans> {

    /**
     * 功能描述: 联查channel_merchant表，将商户id转化为商户名称
     * @Param: [request, startTime, endTime]
     * @Return: java.util.List<com.zbkj.crmeb.store.dto.StoreOrderTransDTO>
     * @Author: wangzh
     * @Date: 2022/9/27 9:35
     */
    List<StoreOrderTransDTO> getList(@Param("request") StoreOrderTransRequest request, @Param("startTime") String startTime, @Param("endTime") String endTime);

}
